package httputil.okhttpinterceptor;

public interface RESTServices {

    String AUTHORIZATION_TYPE_SAML = "SAML";
    String AUTHORIZATION_PARAM_TOKEN = "token";
    String HEADER_ACCEPT = "Accept";
    String HEADER_AUTHORIZATION = "Authorization";
    String HEADER_COOKIE = "Cookie";
    String HEADER_ERROR_FORMAT = "X-Error-Accept";
    String HEADER_CONTENT_DISPOSITION = "Content-Disposition";
    String HEADER_CONTENT_LENGTH = "Content-Length";
    String HEADER_CONTENT_TYPE = "Content-Type";
    String HEADER_ETAG = "ETag";
    String HEADER_ML_EFFECTIVE_TIMESTAMP = "ML-Effective-Timestamp";
    String HEADER_SET_COOKIE = "Set-Cookie";
    String HEADER_VND_MARKLOGIC_DOCUMENT_FORMAT = "vnd.marklogic.document-format";
    String HEADER_VND_MARKLOGIC_START = "vnd.marklogic.start";
    String HEADER_VND_MARKLOGIC_PAGELENGTH = "vnd.marklogic.pageLength";
    String HEADER_VND_MARKLOGIC_RESULT_ESTIMATE = "vnd.marklogic.result-estimate";
    String HEADER_X_MARKLOGIC_SYSTEM_TIME = "x-marklogic-system-time";
    String HEADER_ML_LSQT = "ML-LSQT";
    String HEADER_X_PRIMITIVE = "X-Primitive";

    String DISPOSITION_TYPE_ATTACHMENT = "attachment";
    String DISPOSITION_TYPE_INLINE = "inline";
    String DISPOSITION_PARAM_FILENAME = "filename";
    String DISPOSITION_PARAM_CATEGORY = "category";

    String MIMETYPE_WILDCARD = "*/*";
    String MIMETYPE_TEXT_JSON = "text/json";
    String MIMETYPE_TEXT_XML = "text/xml";
    String MIMETYPE_APPLICATION_JSON = "application/json";
    String MIMETYPE_APPLICATION_XML = "application/xml";
    String MIMETYPE_MULTIPART_MIXED = "multipart/mixed";

    int STATUS_OK = 200;
    int STATUS_CREATED = 201;
    int STATUS_NO_CONTENT = 204;
    int STATUS_PARTIAL_CONTENT = 206;
    int STATUS_SEE_OTHER = 303;
    int STATUS_NOT_MODIFIED = 304;
    int STATUS_UNAUTHORIZED = 401;
    int STATUS_FORBIDDEN = 403;
    int STATUS_NOT_FOUND = 404;
    int STATUS_PRECONDITION_FAILED = 412;
    int STATUS_PRECONDITION_REQUIRED = 428;
    int STATUS_BAD_GATEWAY = 502;
    int STATUS_SERVICE_UNAVAILABLE = 503;
    int STATUS_GATEWAY_TIMEOUT = 504;
}
